package com.hnxxxy.common.task.pojo;

import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "taskinfo")
@EqualsAndHashCode(callSuper = false)
public class TaskPojo {
    private String corn;

    public String getCorn() {
        return corn;
    }

    public void setCorn(String corn) {
        this.corn = corn;
    }

    /*
       建立表结构
      create table sys_task_config(
      id int primary key  auto_increment,
      name varchar(50),
      corn varchar(6),
      taskclass varchar(200),
      devname varchar(100),
      state int (1)
      )
     */
}
